﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VOL.Team.DTOS
{
    /// <summary>
    /// 工单台账和工艺路线DTO
    /// </summary>
    public class TicketLedgerOperationalDTO
    {

        /// <summary>
        ///工单台账主键ID
        /// </summary>
        public int TickeId { get; set; }

        /// <summary>
        ///订单编号
        /// </summary>

        public string TickeNumber { get; set; }

        /// <summary>
        ///工艺线路
        /// </summary>

        public string Line { get; set; }

        /// <summary>
        ///计划数量
        /// </summary>

        public int Plan { get; set; }

        /// <summary>
        ///开始时间
        /// </summary>

        public DateTime StateTime { get; set; }

        /// <summary>
        ///结束时间
        /// </summary>

        public DateTime EndTime { get; set; }

        /// <summary>
        ///Bom编码
        /// </summary>

        public string Bomcode { get; set; }

        /// <summary>
        ///二维码/条形码
        /// </summary>

        public string QRCode { get; set; }

        /// <summary>
        ///已经生产
        /// </summary>

        public int Produce { get; set; }

        /// <summary>
        ///不合格品
        /// </summary>

        public int DefectiveProduct { get; set; }

        /// <summary>
        ///一次通过率
        /// </summary>

        public decimal FirstPassRate { get; set; }

        /// <summary>
        ///订单完成率
        /// </summary>

        public decimal OrderFulfillmentRate { get; set; }

        /// <summary>
        ///备注
        /// </summary>

        public string Remark { get; set; }

        /// <summary>
        ///订单状态
        /// </summary>

        public int OrdersState { get; set; }







        /// <summary>
        ///主键id
        /// </summary>

        public int RoutingId { get; set; }

        /// <summary>
        ///工艺路线名称
        /// </summary>

        public string Routing { get; set; }

        /// <summary>
        ///流程描述
        /// </summary>

        public string ProcessDescription { get; set; }

        /// <summary>
        ///流程时序
        /// </summary>

        public string ProcessTiming { get; set; }

    }
}
